import request  from '@/utils/request'

const api_name = '/educms/banneradmin'

export default{
    //分页显示轮播图内容
    pageBanner(page,limit){
        return request({
            url: `${api_name}/pageBanner/${page}/${limit}`,
            method: 'get'
        })
    },
    //根据id删除轮播图内容
    delBanner(id){
        return request({
            url: `${api_name}/remove/${id}`,
            method: 'delete'
        })
    }

}